package com.seari.service;

import com.seari.bean.*;
import com.seari.bean.Equipment;
import com.seari.pojo.QueryUser;

import java.util.List;
import java.util.Map;

public interface EquipmentService {
    public List<MaterialCaregory> getFMcTree(MaterialCaregory materialCaregory);
    public List<MaterialCaregory> getFMcByParams(MaterialCaregory materialCaregory);
    public MaterialCaregory getFMcByFMcId(MaterialCaregory materialCaregory);
    public int deleteMc(MaterialCaregory materialCaregory);
    public List<Map<String,String>> getLineList(Map<String, String> map);
    public List<Station> getStationByParam(Station station);
    public List<MaterialCaregoryAttr> getFMcAttrByParams(MaterialCaregoryAttr materialCaregoryAttr);
    public List<MaterialCaregoryAttr> getAttrAndValueByFMcId(MaterialCaregoryAttr materialCaregoryAttr);
    public int addMcAttrValueBatch(List<MaterialCaregoryAttrVaule> materialCaregoryValueAttrList);
    public List<Product> getProductByFMcId(Product product);
    public List<Product> getProductById(Product product);
    public int addProductBatch(List<Product> productList);
    public void saveDevLifeInfo(DevLifeBean devLife);
    public User getUserByLogin(String username,String password);
    public List<User> getUserByParams(QueryUser qu);
    public int addUser(User user);
    public int updateUser(User user);
    public int deleteUser(int uid);
    // 根据UID查询用户
    public List<User> getUserByUid(QueryUser qu);
    public int importEtInfo(List<Equipment> equipment);
    public int importEtInfoPlan(List<Equipment> equipment);
    public int saveEtInfoPlan(Equipment equipment);
    public int saveEtInfo(Equipment equipment);
}
